Skip to content

Improve 2column plots for long LRAUV variable names, add precision in regression parms#126

Merged
MBARIMike merged 6 commits intombari-org:mainfrom
MBARIMike:main
Jan 18, 2026
Merged

Improve 2column plots for long LRAUV variable names, add precision in regression parms#126
MBARIMike merged 6 commits intombari-org:mainfrom
MBARIMike:main

Conversation

@MBARIMike
Copy link
Contributor

No description provided.

Add _wrap_label_text() method to split long variable names into multiple
lines at underscore boundaries (~15 characters per line). This prevents
overlapping labels for variables with lengthy names like
"wetlabsbb2fl_mass_concentration_of_chlorophyll_in_sea_water".

Changes:
- Add _wrap_label_text() helper method to wrap text at natural boundaries
- Apply wrapping to all colorbar labels (scatter, contour, and no-data plots)
- Reduce colorbar padding from default to 0.01 for more label space
- Place units on separate line with newline separator
- Reduce label font size from 9pt to 8pt where appropriate
@MBARIMike MBARIMike merged commit 70a408f into mbari-org:main Jan 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant